]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
autorunManager: Do not mark the notification CRITICAL
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 18 Sep 2012 16:53:51 +0000 (18:53 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 9 Oct 2015 13:55:40 +0000 (15:55 +0200)
There is nothing particularly critical about this notification, it
was only marked as such to get certain behavior like auto-expanding
and sticking-around to be acknowledged by the user (as it offers
more actions than the summary notification, so it is frustrating
when it goes away because it was missed).
As all notifications will now stay visible until we are sure the
users has seen them, the latter reasoning no longer applies.
Auto-expansion doesn't appear too important and may even be considered
annoying by users, so remove the CRITICAL hint now.

https://bugzilla.gnome.org/show_bug.cgi?id=657923

js/ui/components/autorunManager.js

index f8b79d89a88e28d9b759b12de8de394c4b41a1ef..f800db885434d10387276f0dedb4a9f6aabcc0cf 100644 (file)
@@ -325,9 +325,6 @@ const AutorunNotification = new Lang.Class({
 
         this._manager = manager;
         this._mount = source.mount;
-
-        // set the notification to urgent, so that it expands out
-        this.setUrgency(MessageTray.Urgency.CRITICAL);
     },
 
     createBanner: function() {